<?php
/* @var $this UserController */
/* @var $model User */
/**/
?>
<h1>Viewing <?php echo $model->fullname; ?>'s Profile</h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'iduser',
		'username',
		'batch',
		'fullname',
		'email',
		'team_relation.short_name',
		array(
			'name'=>'Enabled',
			'value'=>User::getYesNoValue($model->enabled)),
		array(
			'name'=>'Role',
			'value'=>$model->role_relation->name),
	),
)); ?>
